manual refresh

- manual refresh
- changed some stuff related to pref window