[fm] refresh after terminal operations (Fixes #190)
[ui] fix crash dialog button color