Removes useless code
Adds mouse listener for list ui