database and button styling