I have a code with scrollbar that works correctly, if the widgets are inserted onto the frame during automatically(during runtime?). But once I add widgets by pressing a but