Assignment for simple android application