use onPrepareOptionMenu method in Android Tutorials