adding checkmarks in menu