Required field bug fixed and getCurrentView() added