Fixed bug, now flash works even w/ locked screen
Moved startAnimate into onStart-method.