Showing deactivation button only in edition