java: MainFragment: Remove unused method