added pause activity