Slight modifications to TimeActivity