added edit view and appbar