Revert kill app code