Debug button settings + Changed ID to id in pages table