Removed the else loop to store image if bitmap is null. 
Changed the app version to 33.