refactored eye icon of order functionality