Sample app update
Save image function