Fix invalid input elements etc. in Master-Detail Style Page Sample