Amplify key for Form Group Container changed

Added option to append the url to the key, moved the code in try /catch
in case storage exceeds