Making buttons at the top work