Add event handler to update clientid and redirecturl after app creation