Remove apply-function and move process to timeHover-function

The apply function is not needed for anything as far as I can see this. I removed it and added the function's process into its parent function.