Added pad state persist while recording during screen orientation change