implementing menu button