change refresh delay, fix hide/show views