Added the action for when the in/out button is pressed. Still need to
figure out bug with properties file