Fix regex filter not saved after editing through UI

Based on TortoiseSVN revision 25066

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>