Added an option so active tabs can be deactivated

Hi Samson,

I added an option so that tabs that are active can be deactivated by clicking them. 

Take care,
Menno