moving timer to end of activity check function