Refactoring - in-class assignment (Android)