I had this exact problem with my S4. Just froze up. I then tried to scan the doc I needed with my Note 10.1. Evernote did it but the flash light refused to turn off! Had to reboot... But a day later the S4 decides that it will scan! (by 'scan' I mean the document setting)