Fix null pointer exception

In case where user ticks a checkbox in "FilterCards" activity but leaves the
"EditText" empty, application would crash upon clicking "Ok" button.