Configuring Create/Open button on refresh