Adding recent search to iPhone and fixing search behaviors

Adding recent search to iPhone and fixing search behaviors
Needs an additional newline after the closing brace.