update the cards/list button click to allow the parameter string to stay