Exercises simple menu

Using simple menu with toggle button in android