some config UI changes

Summary:

1. make the dimension of config dialog change according to the size of current config options
2. invert icon color temporarily when tapping on menubar