Flyweight and Memento Patterns using android