fixed MenuItem crash below API 11

When the app was run on GingerBread it crashed because of use of "setShowsAsAction" method on MenuItems. It is because the method works on API>11. I used MenuItemCompat and fixed the error.