add transition and cancel functions
update gitignore for rubymine