adding search and appbar buttons