Fix calculator bug

When user enters salary it was being set to 0