Animation stops at app become active again fixed

Animation stops when app become active again after having entered back
ground.
// register to a notification
UIApplicationWillEnterForegroundNotification to force animation to
restart