Added support for right menu button