Set button labels for database