Upload button and crop fix

Fix new image upload
Fix crop button function