Freeze actions while image uploading is in progress 

Fixing issue #640