Moved temp bitmap file methods to app class.