Used the Android Handler to execute the task

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