removed inteval check from options/log controller and added event listener