XBMC - Add functionality to show and adjust XBMC volume through an item of type...

... Dimmer.
please use "else if" since only one option can be valid at a time. Please also format the code according to the Eclipse coding standards.