Fixed bug with releasing object & refactoring
Changed project's settings