Added onClickListener for mainActivity buttons & added onClick switch
method to perform diferent actions on diferent buttons