fixed search in tabs
fixed preserving search state on screen rotation
AS inspection; dead code
imports
coding style