Fix hardware key checkbox preference class