Add methods clearForm and selectTab