Just a little food for thought. In case you go client-server: have you considered Spring Boot and Spring Data JPA as technologies?
It seems you could get rid of a lot of the queries in your code - it seems to me you'd like to build a basic CRUD application.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.