move the code to the proper place...
improve the time search panel
remove the listener...