Refactor the class GitDecoratorPreferencePage