fix expanding button first selection bug