Added validation for the media attributes and added an EditText behind the ImageButton to use it's error capabilities.