Remember selected filter
Prepare module for matlab code porting