deactivate function was implemented

A function that deactivates a tab given its numeric reference was added to the plugin.
Merge pull request #26 from orelvisvr/master

deactivate function was implemented