really turn enum SelState into an enum class

forgotten in an earlier commit (cd48d9c)