SampleApp: Reduce useless conversion from Icon to Bitmap.