Fixed resume button issue.