Input button for changing Edit/View mode