Filter now works without refreshing the whole page