Fix smartscan mode
Make commands repeatable by last command key