fix show/hide cryptinfo in infobar