fixed state typo, change view icon