Changed Timer function to run on an interval, seems to work better