switched tabs with buttons
fixed refresh