add double tap to sleep preference and fixed error in beans_settings