Simple fix for storing image

Store image in internal storage moved to appropriate method