Fixed alignment of buttons in popup for price, reverted initializeEnvironment to wait for device ready