Modified search so that searched task are stored in another arraylist for display under search tag