fix a bug that does not switch to editable mode after saving bet in my view