Force actions on onAnimationStart & on onAnimationEnd to be executed on the main/ui thread

Signed-off-by: Michalis Vitos <info@michalisvitos.gr>