Fix logic for enabling/disabling apply/update filter buttons

Fix #531 

Signed-off-by: Don Naegely <naegelyd@gmail.com>