added automatic focusing

when user clicks on a new rate, the focus is automatically returned to
the duration panel