Added Required  permissions
Restricted the input to be only numeric