Ideas are a resource - a resource that should be shared and not owned, but there is nothing wrong with you exploiting your own expression of an idea, be it selling your novel, or your software - or even selling your rights to exploitation of that product - it is the idiots who grant patents for rounded corners" that need fixing.