Added Get Total button functionality to RMI