added checkmarks when table view is loaded