Fix return value of menu button