category buttons and database file added