Bug 1032070 - [Settings] add done feature in onBeforsShow()

**another try** , WIP by the way.
yes, you can check the result directly with this patch !