Separating edit mode from default mode.

Now it can distinguish which division to show  for editing mode instead
of default mode.