changed return statement of onCreateOptionsMenu