NullPointerException on Photo.getColors() fixed