Fix activity crash because of runnable