set onChange listener to Switch in Flutter Tutorials