User Activity

Is there a way to tell override the error message that the cover is open when is is in fact closed?Thanks