Do not save state if it is empty for rubymine extensions && cleanup