Tom - added search fragment, details fragment and permission change