added rechactivity to fix search fragment problems