Introducing endEditing option