Added menu button function