callback methods have been renamed
tab character has been removed
got rid of SystemIntents, I have replaced them with global variables what is more convinient in this case