refactoring percentage directive
update dependencies
some new tests for percent sum calculation
validating percent sum
save/cancel button & activities
fixing some warnings