you don't need this function, just accede directly ActivityHandler.currentActivity