In a large bowl, combine the leftover mashed potatoes, beaten egg, 1/4 cup of flour, chopped green onions, shredded cheese, salt, pepper, and garlic powder (if using). Mix until well combined. If the mixture feels too wet to form into patties, you can add a little more flour to help bind it.