Handle pressing back when search results are displayed

Change-Id: Id916d477221f7c82ba1a4a271e2e67617cbd2edb