Steps to replicate:
1. Start making a custom update.
2. Add a "Declare a variable..." element, but do not define it
3. Add more elements that are neither "Declare a variable..." nor "Allow to define the return code..." elements
4. Add "Allow to define the return code..." element
5. Edit the "Allow to define the return code..." element, list will be blank
6. Edit the "Declare a variable..." element
7. Edit the "Allow to define the return code..." element, list will still be blank
8. Remove the "Allow to define the return code..." element
9. Add "Allow to define the return code..." element
10. Edit the "Allow to define the return code..." element, list will still be blank
1. Start making a custom update.
2. Add a "Declare a variable..." element, but do not define it
3. Add more elements that are neither "Declare a variable..." nor "Allow to define the return code..." elements
4. Add "Allow to define the return code..." element
5. Edit the "Allow to define the return code..." element, list will be blank
6. Edit the "Declare a variable..." element
7. Edit the "Allow to define the return code..." element, list will still be blank
8. Remove the "Allow to define the return code..." element
9. Add "Allow to define the return code..." element
10. Edit the "Allow to define the return code..." element, list will still be blank