Validates client input amount and updates ui.