Put button onClick actions into seperate functions

Separating the action for each button allows for easier reading of the code. The XML onClick is simpler than setOnClickListener interface and keeps the onCreate function clean and concise.