toggle rtc on click