Fixed a bug that would crash the transition between account settings fragment and edit settings fragment.