made the three main activity buttons work