Committing the

Found out the error with DAOs not getting initialized in Java class.
Solution implemented: Initialize the DAO every-time in the activity as
DAO initialization needs a call to onCreate() activity.