Added actionListener to convert time.