Added tab initialization on switch