subscription UI change refactoring

Code refactoring as per peer review for https://github.com/wso2-dev/andes/pull/31