fixed no update icon if database is closed or not available
fixed error in setting action if no form is available