changed all of the switch statements to if elses because android doesn't allow switching on R.id.*s