fix2 for recents searchbar enable/disable option

thanks to @TheMrcool212 for his help.

Signed-off-by: Yashar Ahmedizadeh <yashade2001@gmail.com>