I think you should make use of `onPrepareOptionsMenu()` and `invalidateOptionsMenu` methods here instead of storing a hard reference to `Menu`.
You will also need to add this callback to `PagerActivity` to make it work. Take a look at how other menu callback are implemented there.