added try/catch to load image button.