toggle simple and advanced view
fixed focus on edit