updated formatting; commented out onBackPressed which seems buggy and unnecessary