Update MenuFragment.java

made data.size() an integer variable.