Make enum Type static
Use surrounding type to access Marker.Type in order to fix problems with Java 7
Issue-36: Save command from task bar overwrites files