Added the onclicklisteners to the main activity buttons