Implement tab  key to switch between elements

Auto switch after element deletion