updated example Activity and filter construction bug