Add refresh button, and fix on open bug