Layout and code Buttons completed