Settings main activity, updated with a little bit of database connection, insertion and query testing