added toggle button for stats filter