Refactored Form.cs. Display selected tile type in edit mode