resume button working