Not able to fetch data from checkbox

So, i’m working on this real estate project, where users can add room details. Probblem is, when i check the checkbox for room one detail, i get information, but when i check the checkbox for another room (Please watch video), it does not show any information. Why?
Please watch this 20 sec video: link

 <div class=" add-list-tags fl-wrap">
          <!-- Checkboxes -->
                                    <ul class="fl-wrap filter-tags no-list-style ds-tg">
                                        <?php foreach ($action->fetchData("facilities") as $key => $value) {

                                        ?>
                                            <li>
                                                <input type="checkbox" value="<?php echo $value['id']; ?>" name="room_facilities[]">
                                                <label for="<?php echo $value['name']; ?>"> <?php echo $value['name']; ?></label>
                                            </li>
                                        <?php } ?>

                                    </ul>
       <!-- Checkboxes end -->
  </div>