Added some logic for validation of fields during adding new expenses