Implement modes switching

From now, only one key (T) is needed. Each press of
this key will switch to next enabled module.