Added method to center form buttons