Refactor create candidate view