Modify Some Codes

Delete some notes and move error message to XAML files