Fixed resume button issue