Fixing trash view by using ResultView class