Improved recorder stopwatch code

Now works properly when closing and reopening the activity