Reduced code & Fixed bottom bar issue after capture still image while recording video.