Optimal portfolio selection: applications in insurance business