keep track of showSelection mode
keep track of showSelection mode