1. Fix wrong recognition decision
2. Fix crash when switch button