Made keyboard manager behave like random manager