Removed onClickListner in Main Activity. A button calls a functions
instead.