save bookmars widget visibility; fix crash in some config circumstances