ankidroid/Anki-Android — pull request #554 by timrae (2014-10-20 17:22:42+00:00)
Title: Fix drag to select feature in Kitkat

Calling `invalidateOptionsMenu()` everytime the menu is opened causes a bug in Kitkat. We should only call `invalidateOptionsMenu()` when an event occurs which changes what should appear in the menus.