Option to disable magnetic cover event

Signed-off-by: flar2 <asegaert@gmail.com>