Set alignment center to the layout.
Added relateionship between user and gadget.