Add handler for refresh button