This is an old thread but....
I couldn't the flashlight app for my S5 and was frustrated by this until I figured out that the flashlight is a widget on the S5. I would assume it's the same on the S4. Now I have a flashlight icon on my home screen that I just press to turn the light on and off without ever launching an app. I prefer this to an app.