Further improved the random generator and changed the scheduled executor to a handler-based scheduling, random within the defined range