add loadingbar for option page