adding pulse animation to record button